import {DataTypes} from "sequelize";
import {sequelize} from "../../config/mysqlDB.js";

const loginInfo = sequelize.define('loginInfo', {
  id: {
    type: DataTypes.INTEGER,
    primaryKey: true,
    autoIncrement: true
  },
  username: {
    type: DataTypes.STRING,
    allowNull: false,
    unique: true,
  },
});

export default loginInfo;